<ion-modal-view>
    <ion-header-bar class="bar-balanced">
        <h1 class="title">登陆</h1>
        <button class="button button-clear button-primary" ng-click="modal.hide()">取消</button>
    </ion-header-bar>
    <ion-content>
      <ion-list>
        <div class="item">
          <span>选择城市：</span>
          <select ng-model="customer.City"
            ng-options="c for c in CityList"></select>
        </div>
        <ion-item class="item-input">
          <label class="input-label">员工登陆：</label>
          <input type="text" ng-model="login.Name">
        </ion-item>
        <ion-item class="item-input">
          <label class="input-label">密码：</label>
          <input type="password" ng-model="login.PassWd">
        </ion-item>
        <button class="button button-positive button-full"
        ng-click="loginApp()">登陆</button>
      </ion-list>
      <div class="info">
        <ion-spinner icon="lines"
        ng-show="login.Waiting"></ion-spinner>
        <span class="stat" ng-bind="login.Status"></span>
      </div>
    </ion-content>
</ion-modal-view>
